Skip to content

feat: add quoting support to to_dict (#1052) (#1053) #1061

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 5, 2025

Conversation

andywag
Copy link
Contributor

@andywag andywag commented May 5, 2025

Summary:
See #1052

Test Plan:
[x] all existing test cases pass

[x] add new test case

[x] test locally:

Given:

[component:dist.ddp]
script=test.py
env=
	NCCL_IB_HCA='=mlx5_0:1,mlx5_1:1';

Observe:

test/0 [7]:environ({...'NCCL_IB_HCA': '=mlx5_0:1,mlx5_1:1', ...})

Differential Revision: D74185528

Pulled By: andywag

Summary:
See pytorch#1052


Test Plan:
[x] all existing test cases pass

[x] add new test case

[x] test locally:

Given:
```
[component:dist.ddp]
script=test.py
env=
	NCCL_IB_HCA='=mlx5_0:1,mlx5_1:1';
```

Observe:
```
test/0 [7]:environ({...'NCCL_IB_HCA': '=mlx5_0:1,mlx5_1:1', ...})
```

Differential Revision: D74185528

Pulled By: andywag
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 5, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D74185528

@facebook-github-bot facebook-github-bot merged commit 83a2765 into pytorch:main May 5, 2025
22 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants